Retrieval Augmented Generation (CSV)
RAG_CSV
Gets results from a RAG database using a query.
Parameters
dbPath
(string): The path to the db file.queries
(string): The semi-colon-separated queries, e.g. "How many otters are there in Denmark?;How many parrots in Sweden?"template
(string): The RAG template. The default is$QUERY: \r\n$EMBEDDINGS
Returns
The top 3 matching results for reach query from the RAG database. Depends on the RagSettings in the configuration file.